home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
TEST
/
CTYPE.C
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-20
|
271b
|
19 lines
// Ctype.h tests
#include <CTYPE.H>
#include <stdio.h>
void *tof[]={"False","True"};
void main(void) {
int a;
a=isascii('5');
printf("isascii('5') == %i %s\n",a,tof[a&1]);
a=isdigit('a');
printf("isdigit('a') == %i %s\n",a,tof[a&1]);
}